<template>
  <el-container>
    <el-row>
      <el-col>
        <div>
          <h2>不好意思，你访问的页面载休假~~</h2>
          <small>{{ number }}每秒钟后，回到登录页面</small>
        </div>
      </el-col>
    </el-row>
  </el-container>
</template>

<script>
export default {
  name: 'IntelligentWaterManagementSystemPage404',

  data() {
    return {
      number: 5,
      timer: null
    }
  },

  mounted() {
    let that = this
    this.timer = setInterval(function () {
      that.number = that.number - 1
      if (that.number == 0) {
        clearInterval(that.timer)
        that.$router.push('/login')
      }
    }, 1000)
  },

  methods: {}
}
</script>

<style lang="less" scoped></style>
